/**
 * Created by Administrator on 2017/7/3.
 */
var vm = avalon.define({
    $id: 'security',
    findCode: []
})
init()
function init() {
    findCode();
}

function findCode() {
    var _basePath = getFindCodeUrl();
    console.log("getColumnData _basePath=" + _basePath);
    $.ajax({
        url: _basePath,
        dataType: 'json',
        success: function (res, status, xhr) {
            console.log(JSON.stringify(res, null, 4))
            if (res.resultStatus == 100) {
                vm.findCode = res.resultData;
            } else {
                console.log(res.resultMsg);
            }
        }
    })
}